exec
object exec
Content copied to clipboard
Wrappers for @actions/exec.
Functions
execCommand
Link copied to clipboard
suspend fun execCommand(command: String, vararg args: String, cwd: Path? = null, env: Map<String, String>? = null, input: <ERROR CLASS>? = null, silent: Boolean = false, outStream: <ERROR CLASS>? = null, errStream: <ERROR CLASS>? = null, windowsVerbatimArguments: Boolean = false, failOnStdErr: Boolean = false, ignoreReturnCode: Boolean = false, delay: Long = 10000, stdoutListener: (<ERROR CLASS>) -> Unit? = null, stderrListener: (<ERROR CLASS>) -> Unit? = null, stdoutLineListener: (data: String) -> Unit? = null, stderrLineListener: (data: String) -> Unit? = null, debugListener: (data: String) -> Unit? = null): Int
Content copied to clipboard
execCommandAndCapture
Link copied to clipboard
suspend fun execCommandAndCapture(command: String, vararg args: String, cwd: Path? = null, env: Map<String, String>? = null, input: <ERROR CLASS>? = null, silent: Boolean = false, outStream: <ERROR CLASS>? = null, errStream: <ERROR CLASS>? = null, windowsVerbatimArguments: Boolean = false, failOnStdErr: Boolean = false, ignoreReturnCode: Boolean = false, delay: Long = 10000, stdoutListener: (<ERROR CLASS>) -> Unit? = null, stderrListener: (<ERROR CLASS>) -> Unit? = null, stdoutLineListener: (data: String) -> Unit? = null, stderrLineListener: (data: String) -> Unit? = null, debugListener: (data: String) -> Unit? = null): ExecResult
Content copied to clipboard
execShell
Link copied to clipboard
suspend fun execShell(command: String, shell: Shell = defaultShell, cwd: Path? = null, env: Map<String, String>? = null, input: <ERROR CLASS>? = null, silent: Boolean = false, outStream: <ERROR CLASS>? = null, errStream: <ERROR CLASS>? = null, failOnStdErr: Boolean = false, ignoreReturnCode: Boolean = false, delay: Long = 10000, stdoutListener: (<ERROR CLASS>) -> Unit? = null, stderrListener: (<ERROR CLASS>) -> Unit? = null, stdoutLineListener: (data: String) -> Unit? = null, stderrLineListener: (data: String) -> Unit? = null, debugListener: (data: String) -> Unit? = null)
Content copied to clipboard
execShellAndCapture
Link copied to clipboard
suspend fun execShellAndCapture(command: String, shell: Shell = defaultShell, cwd: Path? = null, env: Map<String, String>? = null, input: <ERROR CLASS>? = null, silent: Boolean = false, outStream: <ERROR CLASS>? = null, errStream: <ERROR CLASS>? = null, failOnStdErr: Boolean = false, ignoreReturnCode: Boolean = false, delay: Long = 10000, stdoutListener: (<ERROR CLASS>) -> Unit? = null, stderrListener: (<ERROR CLASS>) -> Unit? = null, stdoutLineListener: (data: String) -> Unit? = null, stderrLineListener: (data: String) -> Unit? = null, debugListener: (data: String) -> Unit? = null): ExecResult
Content copied to clipboard
Properties
defaultShell
Link copied to clipboard
Sources
js source
Link copied to clipboard